/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels
{
    [Table("tb_project_reviewstandar")]
    [Entity(TableCnName = "标准表",TableName = "tb_project_reviewstandar")]
    public partial class tb_project_reviewstandar:BaseEntity
    {
        /// <summary>
        ///标准ID
        /// </summary>
        [Key]
        [Display(Name = "标准id")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string standarID { get; set; } = new Snowflake.Core.IdWorker(1, 1).NextId().ToString();

        /// <summary>
        ///标准选项外键id
        /// </summary>
        [Display(Name = "标准选项id")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string standardselectionID { get; set; }

        /// <summary>
        ///标准名称
        /// </summary>
        [Display(Name ="标准名称")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Required(AllowEmptyStrings=false)]
       public string standarName { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string remark { get; set; }

       /// <summary>
       ///评判类别
       /// </summary>
       [Display(Name ="评判类别")]
       [Column(TypeName="int")]
       public int? scoreType { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        public string creator { get; set; }
        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        [Required(AllowEmptyStrings = false)]
        public DateTime createDate { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        [Display(Name = "修改人")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        public string modifier { get; set; }
        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? modifierTime { get; set; }

        /// <summary>
        ///是否删除
        /// </summary>
        [Display(Name = "是否删除")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int isDelete { get; set; }

    }
}